package com.clement.observe;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Clement on 2017/2/28.
 */
@Configuration
@ComponentScan(basePackages = "com.clement.observe")
public class Config {
    @Bean
    public Subject subject() {
        return  new Subject();
    }
}
